package com.liu.sound.code.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class AspectDemo {

    @Before("execution(public void com.liu.sound.code.service.UserService.test())")
    public void before() {
        System.out.println("AspectDemo.before()");
    }

}
